package com.example.untils;

public class RedisConstants {
    public static final String LOGIN_CODE_KEY="login:code:";
    public static final Long LOGIN_CODE_TTL=2L;  //key持续2分钟时间
    public static final String LOGIN_USER_KEY="login:user";
    public static final Long LOGIN_USER_TTL=24L; //key持续一天时间
}
